package com.symaster.gameengine.api;

/**
 * @author yinmiao
 * @since 2024/9/19
 */
public class RangeF {
    private float lower;
    private float upper;

    public static RangeF of(final float lower, final float upper) {
        RangeF rtn = new RangeF();
        rtn.lower = lower;
        rtn.upper = upper;
        return rtn;
    }

    public float getLower() {
        return lower;
    }

    public void setLower(float lower) {
        this.lower = lower;
    }

    public float getUpper() {
        return upper;
    }

    public void setUpper(float upper) {
        this.upper = upper;
    }
}
